package bb;

import java.util.Date;

import com.bootdo.common.utils.DateUtils;

public class sadfasdf {
	public static void main(String[] args) {
		long createtime=0;
    	String createtime2 = "2020-12-30 09:33:46";
    	//1609292146000
    	if(createtime2.contains(":")) {
			Date parseDate = DateUtils.parseDate(createtime2);
			createtime = parseDate.getTime();
		}else {
			createtime = Long.parseLong(createtime2);
		}
    	long now = new Date().getTime();
    	  long addTime = 2  * 60000;
		System.out.println(createtime);
		System.out.println(createtime+addTime);
		System.out.println(now);
		System.out.println(addTime);
	}

}
